<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
    </head>
    <body>
        <canvas id="myCanvas" width="200" height="100" style="border: 1px solid #000000"> </canvas>

        <script>
            let c = document.getElementById('myCanvas');
            let ctx = c.getContext('2d');
            ctx.fillStyle = '#FF0000';
            ctx.fillRect(0, 0, 150, 75);
        </script>
    </body>
</html>
